package cc.ucanuup.service.base.dao;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import cc.ucanuup.service.base.entity.UpUser;

/**
 * Description: TODO[描述该类概要功能介绍]
 *
 * @author guwenbin
 * @date 2018年2月1日
 * @version 1.0
 */
public interface UpUserJPA extends JpaRepository<UpUser, Serializable>,JpaSpecificationExecutor<UpUser> {

	@Query(value="select t from UpUser t where t.userAccount = ?1")
	UpUser findSupplierByName(String userName);

}
